package java_design_model.com.State.abc;

public class CState implements State {
    AState aState;
    @Override
    public void changState(MM mm) {
        if(aState==null){
            aState=new AState();
        }
        mm.setState(aState);
    }

    @Override
    public void showState() {
        System.out.println(this.getClass().getName());
    }
}
